import request from '@/utils/request'

//  登录
export function login(data) {
    return request({
        url: '/login',
        method: 'post',
        data
    })
}

//  注册
export function logup(data) {
    return request({
        url: '/logup',
        method: 'get',
        params: {data}
    })
}


